package com.czkt.springboot_mybatis_test.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.czkt.springboot_mybatis_test.entity.CstLost;
import com.czkt.springboot_mybatis_test.mapper.CstLostMapper;
import com.czkt.springboot_mybatis_test.service.ICstLostService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jobob
 * @since 2024-06-18
 */
@Service
public class CstLostServiceImpl extends ServiceImpl<CstLostMapper, CstLost> implements ICstLostService {
    @Resource
    CstLostMapper cstLostMapper;


    @Override
    public Integer cstLostCount(String lstCustName, String lstCustManagerName) {
        return cstLostMapper.cstLostCount(lstCustName, lstCustManagerName);
    }


    @Override
    public List<CstLost> selectCstLost(String lstCustName, String lstCustManagerName, Integer pageIndex, Integer pageSize) {
        return cstLostMapper.selectCstLost(lstCustName, lstCustManagerName, pageIndex, pageSize);
    }


}
